package com.attendance.service;

import com.attendance.dto.request.RoleRequest;
import com.attendance.entity.Role;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

public interface RoleService extends IService<Role> {
    void createRole(RoleRequest request);
    void updateRole(RoleRequest request);
    void deleteRole(Long id);
    Role getRole(Long id);
    Page<Role> listRoles(Integer pageNum, Integer pageSize, String keyword);
    void enableRole(Long id);
    void disableRole(Long id);
    List<Role> listEnabledRoles();
} 